package org.kjtc.service;

import org.kjtc.mapper.TestMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @ Author     ：Yellowong
 * @ Date       ：Created in 11:04 2018/12/19
 * @ Description：
 */
@Service("testService")
public class TestService {

    @Autowired
    private TestMapper testMapper;

    public List<Map> getAllTestData() {
        return testMapper.getAllTestData();
    }

    public List<Map> getTestDataWithCertainNum(Integer i) {
        return testMapper.getTestDataWithCertainNum(i);
    }

}
